<%@ page pageEncoding="UTF-8" %>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>

<nav>
    <rich:panelMenu label="#{msg.menu}" mode="ajax" id="patientMenu">
        <rich:panelMenuGroup label="#{msg.personal_data}" expanded="true">
            <rich:panelMenuItem >
                <h:outputLink value="/PortaleVisite/faces/pages/patient/actions/anagrafica.jsp" >
                    <h:outputText value="#{msg.show_personal_data}" />
                </h:outputLink>
            </rich:panelMenuItem>            
            <rich:panelMenuItem >
                <h:outputLink value="/PortaleVisite/faces/pages/patient/actions/newPassword.jsp" >
                    <h:outputText value="#{msg.change_password}" />
                </h:outputLink>
            </rich:panelMenuItem>
            <rich:panelMenuItem >
                <h:outputLink value="/PortaleVisite/faces/pages/patient/actions/newMail.jsp" >
                    <h:outputText value="#{msg.change_email}" />
                </h:outputLink>
            </rich:panelMenuItem>
        </rich:panelMenuGroup>
        <rich:panelMenuGroup label="#{msg.storico}" expanded="true">
            <rich:panelMenuItem >
                <h:outputLink value="/PortaleVisite/faces/pages/patient/actions/oldVisits.jsp" >
                    <h:outputText value="#{msg.visualizza_storico}" />
                </h:outputLink>
            </rich:panelMenuItem>
            <rich:panelMenuItem >
                <h:outputLink value="/PortaleVisite/faces/pages/patient/actions/nextVisits.jsp" >
                    <h:outputText value="#{msg.visualizza_scadenze}" />
                </h:outputLink>
            </rich:panelMenuItem>
        </rich:panelMenuGroup >
        <rich:panelMenuGroup label="#{msg.logout}" expanded="true">
            <rich:panelMenuItem>
                <h:outputLink value="/PortaleVisite/faces/pages/patient/actions/logout.jsp" >
                    <h:outputText value="#{msg.logout}" />
                </h:outputLink>
            </rich:panelMenuItem>
        </rich:panelMenuGroup>
    </rich:panelMenu>
</nav>
